package com.example.client.user;

import com.example.common.util.core.resultbody.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author juzipi
 * @Date 2021/7/24 10:42
 * @Info
 */
@FeignClient(name = "service-user", contextId = "t3")
public interface PatientFeignClient {


    //根据id获取就诊人信息
    @GetMapping("api/user/patient/get/{id}")
    public AjaxResult getPatient(@PathVariable("id") Long id);


}
